import Vue from 'vue'
import App from './App.vue'
import iView from 'iview';
import VueRouter from 'vue-router'
import 'iview/dist/styles/iview.css';
import { routes } from './routes'


const router = new VueRouter({
    routes: routes,
    mode: 'history'
})

Vue.use(iView);
Vue.use(VueRouter);
new Vue({
    el: '#app',
    router,
    render: h => h(App)
})